home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsdk.lha
/
man
/
cat3
/
ldiv.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
908b
|
67 lines
LDIV(3) UNIX Programmer's Manual LDIV(3)
NNAAMMEE
llddiivv - return quotient and remainder from division
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_l_d_i_v___t
llddiivv(_i_n_t _n_u_m, _i_n_t _d_e_n_o_m)
DDEESSCCRRIIPPTTIIOONN
The llddiivv() function computes the value _n_u_m_/_d_e_n_o_m and returns the quotient
and remainder in a structure named _l_d_i_v___t that contains two _l_o_n_g _i_n_t_e_g_e_r
members named _q_u_o_t and _r_e_m.
SSEEEE AALLSSOO
div(3), math(3)
SSTTAANNDDAARRDDSS
The llddiivv() function conforms to ANSI C3.159¡1989 (``ANSI C'').
BSD Experimental June 29, 1991 1